package com.dy.nygl.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import com.dy.nygl.pojo.EquipMonit;

@Component("equipMonitDao")
public interface EquipMonitMapper {

	int deleteByPrimaryKey(@Param("id") Integer id);

	int insert(EquipMonit record);

	int insertSelective(EquipMonit record);

	EquipMonit selectByPrimaryKey(Integer id);

	int updateByPrimaryKeySelective(EquipMonit record);

	int updateByPrimaryKey(EquipMonit record);

	List<EquipMonit> selectAll();

	List<EquipMonit> selectByEquipId(@Param("equipId") String equipId);

	List<EquipMonit> selectByEquipName(@Param("equipName") String equipName);

	List<EquipMonit> selectByDateLike(@Param("date") String date);

}